package com.lsw.joy.utils;

import lombok.Getter;

/**
 * @author Hasee
 * @date 2021/10/14
 */
@Getter
public enum ResultStatusCode {

    USERNAME_EXIST(10000,"用户名已存在"),

    SUCCEED(200, "操作成功"),
    FAILED(-1, "操作失败");

    private int resultCode;
    private String resultMessage;

    ResultStatusCode(int resultCode, String resultMessage) {
        this.resultCode = resultCode;
        this.resultMessage = resultMessage;
    }

}
